
import java.io.FileNotFoundException;
import java.sql.SQLException;
import javax.swing.JOptionPane;
import powell.nflpredictionproject.database.BuildDatabase;
import powell.nflpredictionproject.database.PopulateDatabase;
import powell.nflpredictionproject.display.MainPanel;

/**
 *
 * @author Joshua Powell CSC 251 Advanced Java Programming Project This program
 * is a first version application and uses statistics to display a winner and is
 * using a derby database to read those statistics. This database is built using
 * a .csv file I found on a popular statistics web site.
 */

/**
 * This class is the main class of the program and contains a main method that 
 * displays a message to the user letting them know the default statistics year
 * is 2012. The main method also calls the MainPanel calls to run the 
 * application.
 */
public class NFLPredictionProject
{

    /**
     * This is the main method of the NFLPredictionProject class.
     *
     * @param args
     */
    public static void main(String[] args) throws FileNotFoundException, SQLException
    {
        JOptionPane.showMessageDialog(null, "This application uses the 2012 NFL season stats by default if you do not select a season", "Application Information", 1);

        MainPanel run = new MainPanel();
    }
}
